﻿<%@ Page Title="" Language="C#" MasterPageFile="~/clerks/ClerkMaster.Master" AutoEventWireup="true" CodeBehind="RetrivalList_Detail.aspx.cs" Inherits="LogicUniversity.clerks.RetrivalList_Detail" %>
<%@ PreviousPageType VirtualPath="~/clerks/RetrievalList.aspx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <form id="form1" runat="server">
    <div class="row-fluid">
        <div class="span3">
            <h4>Breakdown Items By Department</h4>
        </div>
    </div>
    <div class="row-fluid">
       
        <div class="span3">
        <asp:Label ID="lblDesc" Font-Bold="true" Text="Item Code " runat="server" ></asp:Label>&nbsp;
            <asp:Label ID="lblItemDesc"  runat="server" ></asp:Label>
        </div>
    </div>
    <br />
    <div class="row-fluid">
        <div class="span8">
            <asp:GridView CssClass="table table-hover" GridLines="None" ID="grdRetrivalDetail" runat="server" AutoGenerateColumns="false">
        <Columns>
            <asp:BoundField DataField="Dept_Name" HeaderText="Department Name" />
            <asp:BoundField DataField="Needed" HeaderText="Needed" />
            <asp:TemplateField HeaderText="Actual">
                <ItemTemplate>
                    <asp:TextBox ID="txtActual" Text='<%#Bind("Actual")%>' runat="server" />
                    <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span3">
            <asp:Button CssClass="btn btn-primary" ID="btnSave" Text="Save" runat="server" onclick="btnSave_Click" />
        </div>
        <div class="span2">
            <asp:LinkButton ID="lnkBack" runat="server" onclick="lnkBack_Click">Back</asp:LinkButton>
        </div>
    </div>
    
    </form>
</asp:Content>
